package com.gold.util;

/**
 * Created by ChangYY <502341194@163.com>
 * 2015-03-26
 * 10:57
 * TO DO What
 */
public class Common {

    /**
     * 判断变量是否为空
     * @param s
     * @return
     */
    public static boolean isEmpty(String s) {
        if (null == s || "".equals(s) || "".equals(s.trim()) || "null".equalsIgnoreCase(s)) {
            return true;
        } else {
            return false;
        }
    }
}
